﻿
<%@ page import="java.util.*" %>
<%
String Code = (String)session.getAttribute("LanguageCode");
String SubCode = (String)session.getAttribute("LanguageSubcode");
Locale locale = new Locale(Code, SubCode);
ResourceBundle resource = ResourceBundle.getBundle("resource", locale);
%>

<div id="payment_charges_popup" style="width:750px; height:120px; display:none; background-color:#FFF;" >
<table width="100%" name="payment_charges_popup" >
<tr>
<td style="padding-left:5px;" width="17%"><%out.print(resource.getString("Payment.othercharges.giftcharges"));%></td>
<td width="17%"><%out.print(resource.getString("Payment.othercharges.selectPOS"));%></td>
<td width="17%"><%out.print(resource.getString("Payment.othercharges.chargeslist"));%></td>
<td width="12%" ><span style="float:right;"><%out.print(resource.getString("Payment.othercharges.price"));%></span></td>
<td width="5%"><span style="float:right;"><%out.print(resource.getString("Payment.othercharges.Qty"));%></span></td>
<td width="10%"><span style="float:right;"><%out.print(resource.getString("Payment.othercharges.discount"));%></span></td>
<td width="11%">&nbsp;</td>
<td width="11%"><span style="float:right; padding-right:5px;"><%out.print(resource.getString("Payment.bookingdetails.balance"));%></span></td>
</tr>
<tr>
<td style="padding-left:5px;" >
<!--PAO FOR SINGLE PAYMENT-->
<input type=hidden id="foreventbutton">
<!--PAO FOR SINGLE PAYMENT-->
<select id="payment-charges-group_owner" style="width:95%;">
<option value="none"><%out.print(resource.getString("Payment.othercharges.groupowner"));%></option>
</select>
</td>
<td name="selectPOS"><select name="payment-charges-pos" style="width:95%;" onchange="setItemPos();">
<option value="none"><%out.print(resource.getString("Payment.othercharges.selectPOS"));%></option>
</select></td>
<td>
<select name="payment-chrages-charges_listchb" style="width:95%; display:none;" onchange="setPriceItem();CalCharge();">
<option value="none"><%out.print(resource.getString("Payment.othercharges.product"));%></option>
</select>
<input type="text" style="border:#000 solid 1px; width:90%; float:left; display:none; " id="payment-charges-list">
</td>
<td><div style="float:right;">
<span name="payment-charges-price" style="display:none;">0</span>
<input onkeypress="return isNumberKey(event)" onKeyup="CalCharge();" type="text" style="border:#000 solid 1px; width:70%; float:right; display:none; " id="payment-charges-inputprice">
</div></td>
<td><span><input onkeypress="return isNumberKey(event)" value="1" onKeyup="CalCharge();" type="text" style="border:#000 solid 1px; width:70%; float:right; text-align:center;" id="payment-charges-qty"></span></td>
<td><span style="float:right;"></span>
<span><input onkeypress="return isNumberKey(event)" onKeyup="CalCharge();" type="text" style="border:#000 solid 1px; width:80%; float:right; text-align:right;" id="payment-charges-discount" value="0"></span>
</td>
<td>
<span><input onClick="CalCharge();" type="radio" name="group1" value="cash" checked></span><span>฿</span>
<span><input onClick="CalCharge();" type="radio" name="group1" value="percentage"></span><span>%</span>
</td>
<td><div style="float:right; padding-right:5px;"><span>฿&nbsp;</span><span id="payment-charges-balance">00.00</span></div></td>
</tr>
<tr>
<td colspan="8">
<span style="padding-left:79%"><input onClick="CalCharge();" type="checkbox" id="payment-charges-tax"></span><span><%out.print(resource.getString("Payment.othercharges.tax"));%></span>
</td>
</tr>
</table>
</div>
 